/*
 * Copyright (c) 2015. For Intelligent Group.
 */

package com.intelligent.ispc.utils;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

/**
 * Created by yangli on 2015-07-24.
 */
@Component
public class SystemConfig {
    @Value("#{sysconfig.PROJECT_NAME}")
    private String projectName;

    @Value("#{sysconfig.DEFAULT_PAGE_SIZE}")
    private Integer pageSize;

    @Value("#{sysconfig.DATE_FORMAT}")
    private String dateFormat;

    @Value("#{sysconfig.DATE_FORMAT_FULL}")
    private String dateFormatFull;

    @Value("#{sysconfig.DATE_FORMAT_SECOND}")
    private String dateFormatecond;

    @Value("#{sysconfig.DEFAULT_PASSWORD_SIZE}")
    private Integer passwordSize;

    @Value("#{sysconfig.MDB_PUSH_SIZE}")
    private Integer mdbPushSize;

    @Value("#{sysconfig.DEFAULT_ITEM_NAME_SIZE}")
    private Integer itemNameSize;

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }


    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }

    public String getDateFormat() {
        return dateFormat;
    }

    public void setDateFormat(String dateFormat) {
        this.dateFormat = dateFormat;
    }


    public String getDateFormatFull() {
        return dateFormatFull;
    }

    public void setDateFormatFull(String dateFormatFull) {
        this.dateFormatFull = dateFormatFull;
    }

    public String getDateFormatecond() {
        return dateFormatecond;
    }

    public void setDateFormatecond(String dateFormatecond) {
        this.dateFormatecond = dateFormatecond;
    }

    public Integer getPasswordSize() {
        return passwordSize;
    }

    public void setPasswordSize(Integer passwordSize) {
        this.passwordSize = passwordSize;
    }

    public Integer getMdbPushSize() {
        return mdbPushSize;
    }

    public void setMdbPushSize(Integer mdbPushSize) {
        this.mdbPushSize = mdbPushSize;
    }

    public Integer getItemNameSize() {
        return itemNameSize;
    }

    public void setItemNameSize(Integer itemNameSize) {
        this.itemNameSize = itemNameSize;
    }
}
